const keywordSearch = (request) => {
	return {
		search_serviceObject(query = {}) {
			return request(`/fastsearch/search/serviceObject`, {
				method: 'post',
				data: query,
			})
		},
		search_homeOldman(query = {}) {
			return request(`/fastsearch/search/serviceObjectHome`, {
				method: 'post',
				data: query,
			})
		},
		search_serviceFacility(query = {}) {
			return request(`/fastsearch/search/serviceFacility`, {
				method: 'post',
				data: query,
			})
		},
		search_serviceOrgBase(query = {}) {
			return request(`/fastsearch/search/serviceOrgBase`, {
				method: 'post',
				data: query,
			})
		},
		search_serviceOrgHome(query = {}) {
			return request(`/fastsearch/search/serviceOrgHome`, {
				method: 'post',
				data: query,
			})
			
		},
		search_serviceProvider(query = {}) {
			return request(`/fastsearch/search/serviceProvider`, {
				method: 'post',
				data: query,
			})
		},
		search_volunteer(query = {}) {
			return request(`/fastsearch/search/volunteer`, {
				method: 'post',
				data: query,
			})
		},
		search_foundationPractitioners(query = {}) {
			return request(`/fastsearch/search/foundationPractitioners`, {
				method: 'post',
				data: query,
			})
		},
		search_professor(query = {}) {
			return request(`/fastsearch/search/professor`, {
				method: 'post',
				data: query,
			})
		},
		search_policyDocument(query = {}) {
			return request(`/fastsearch/search/policy`, {
				method: 'post',
				data: query,
			})
		},
		search_news(query = {}) {
			return request(`/fastsearch/search/news`, {
				method: 'post',
				data: query,
			})
		},
	}
}
export default ({ request }: any) => ({
	...keywordSearch(request),
})
